
source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitee.com/supershs/SGRepo.git'
#platform :ios, '10.0'


#def chatPods
#    #Swift
#    pod 'Alamofire', '~> 4.0'
#    pod 'Kingfisher'
#    pod 'ObjectMapper', '~> 3.4'
#    pod 'SwiftyJSON', '~> 4.0'
#    pod 'Dollar', '9.0.0'
#    #pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
#    pod 'KeychainAccess', '3.2.0'
#    pod 'UIColor_Hex_Swift', '~> 5.1.0'
#    pod 'RxSwift', '~> 5'
#    pod 'RxCocoa', '~> 5'
#    pod 'RxBlocking', '~> 5'
#    pod 'XCGLogger', '~> 7.0.0'
#    pod 'SnapKit', '~> 5.0.0'
#    pod "BSImagePicker", "~> 2.10.0"
#    #pod 'ImagePicker'
#    pod 'TSVoiceConverter', '0.1.6'
#    pod 'XLActionController', '5.0.0'
#    pod 'TimedSilver', '1.2.0'
#
#    #Objective-C
#    pod 'YYText', '1.0.7'
#    pod 'SVProgressHUD', '2.0.4'
#    pod 'INTULocationManager', '4.3.2'
#
#    pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']
#end


abstract_target 'SheYangBigDataCommonPods' do
  
  use_frameworks!
  
  inhibit_all_warnings! #忽略警告
  
  pod 'RxSwift'
  pod 'RxCocoa'
  pod 'RxDataSources'
  # 图片加载
  pod 'Kingfisher'
  # 网络请求
  pod 'Alamofire'
  pod 'AFNetworking'
  # 基于alamofire的二次封装
  pod 'Moya'#, '~> 14.0'
  pod 'Moya/RxSwift'
  # 网络监听
  pod 'ReachabilitySwift'
  # 约束
  pod 'SnapKit'
  pod 'SQLite.swift'
  pod 'SwiftDate'
  # toast
  pod 'Toast-Swift', '~> 5.0.1'
  # 提示框
  pod 'SwiftMessages'
  # 提示alert
  pod 'SCLAlertView'
  # 菊花
  pod 'NVActivityIndicatorView'
  pod 'MBProgressHUD'
  # 加密&解密
#  pod 'CryptoSwift', '~> 1.0'
  
  pod 'IQKeyboardManagerSwift'
  # 表单table
  pod 'Eureka'
  # Attributes string
  pod 'TextAttributes'
  # 权限管理
  pod 'Permission'
  # 下拉刷新
  pod 'MJRefresh'
  # 图片选择器
  #  pod 'ImagePicker'
  pod 'ZLPhotoBrowser'  #qq、微信样式
  # page控制器
  pod 'XLPagerTabStrip'
  # json 解析
  pod 'HandyJSON', '~> 5.0.1'
  # 图片浏览器
  pod 'NYTPhotoViewer'
  # swift常用扩展
  pod 'SwifterSwift'
  # log打印
  pod 'XCGLogger', '~> 7.0.0'
  # Swift语法糖---初始化Then
  pod 'Then'
  # 轮播
  pod 'SDCycleScrollView'
  
  pod 'AlamofireImage'
  
  pod 'GDPerformanceView-Swift'
  # 双联动选择
  pod 'TFDropDownMenu'
  
  pod 'YYText'
  pod 'YYImage'
  # 播放器
  pod 'SJBaseVideoPlayer'
  
  pod 'SJVideoPlayer'
  # 视频播放
  pod 'WMPlayer'
  
  # 高德
  pod 'AMap3DMap'
  pod 'AMapSearch'
  pod 'AMapLocation'
  
  # IM相关 网易云信
  pod 'NIMSDK_LITE', '6.2.0'
  pod 'Toast', '~> 3.0'
  pod 'SVProgressHUD', '~> 2.0.3'
  pod 'M80AttributedLabel', '~> 1.6.3'
  #  pod 'SDWebImage', '~> 3.8.2'
  pod 'SDWebImage'
  #pod 'SDWebImage/WebP'
  pod 'TZImagePickerController', '~> 1.7.7'
  # 选择器 地址、日期、时间、自定义字符
  pod 'BRPickerView'
  # 日历
  pod 'CVCalendar', '~> 1.7.0'
  pod 'WMZDialog',inhibit_warnings: true
  # pageviewController
  pod 'Parchment', '~> 3.0'
  
  pod 'EScrollPageView', '~> 1.0.0'
  
  pod 'SwiftWeb', '0.1.18'
  #    pod 'Alamofire'
  # 萤石云
#  pod 'EZOpenSDK'
  # Wechat
  pod 'WechatOpenSDK', '1.8.5'
  # 友盟依赖库
  pod 'UMCCommon'
  pod 'UMCSecurityPlugins'
  # 友盟分享-微信
  pod 'UMengUShare/Social/ReducedWeChat'
  # 友盟分享-推送
  pod 'UMCPush'
  pod 'RxAlamofire'
  
  #分段控制器
  pod 'PagingViewKit'

  
  
  #chat
  #Swift
#      pod 'Alamofire', '~> 4.0'
#      pod 'Kingfisher'
      pod 'ObjectMapper', '~> 3.4'
      pod 'SwiftyJSON', '~> 4.0'
      pod 'Dollar', '9.0.0'
      #pod 'Cent', :git => 'https://github.com/ashitanojoe/Cent.git'
      pod 'KeychainAccess', '3.2.0'
      pod 'UIColor_Hex_Swift', '~> 5.1.0'
#      pod 'RxSwift', '~> 5'
#      pod 'RxCocoa', '~> 5'
      pod 'RxBlocking', '~> 5'
#      pod 'XCGLogger', '~> 7.0.0'
#      pod 'SnapKit', '~> 5.0.0'
      pod "BSImagePicker", "~> 2.10.0"
      #pod 'ImagePicker'
      pod 'TSVoiceConverter', '0.1.6'
      pod 'XLActionController', '5.0.0'
      pod 'TimedSilver', '1.2.0'
  
      #Objective-C
#      pod 'YYText', '1.0.7'
#      pod 'SVProgressHUD', '2.0.4'
      pod 'INTULocationManager', '4.3.2'
  
      pod 'Reveal-SDK', '~> 4', :configurations => ['Debug']
  
  # 认养
#  pod 'RenYang', :path => 'Lib/RenYang'
  
  # 新建target后导入的三方将不再新建target的引用范围内，最好在新建target之前导入，或者用abstract_target '33webCommonPods'这种方法
  target 'SheYangBigData' do
#    chatPods
  end
  #    target 'SheYangBigData_Archive' do
  #    end
end


# 三方支持的iOS系统版本限制
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 10.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
      end
    end
  end
end




#target 'TSWeChat' do
#    pods
#end

#post_install do |installer|
#    installer.pods_project.targets.each do |target|
#        target.build_configurations.each do |config|
#            config.build_settings['ENABLE_BITCODE'] = 'YES'
#            config.build_settings['SWIFT_VERSION'] = '5.0'
#        end
#    end
#end
